<form class="form-horizontal" method="post"
	action="${cxt!}/admin/paymentplugin/update" id="searchForm">
	<input type="hidden" name="paymentPluginConfig.id"
		value="${paymentPluginConfig.id!}" /> <input type="hidden"
		name="paymentPluginConfig.pluginid"
		value="${paymentPluginConfig.pluginid!}" />
	<div class="form-group">
		<label for="namebasic" class="col-md-2 control-label">${_res["payment.plugin.name"]}</label>
		<div class="col-md-10">
			<input type="text" class="form-control"
				name="paymentPluginConfig.name"
				placeholder="${_res['payment.plugin.name']}"
				value="${paymentPluginConfig.name!}" required aria-required="true">
		</div>
	</div>
	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.partner"]}</label>
		<div class="col-md-10">
			<input type="text" class="form-control"
				name="paymentPluginConfigAttribute.partner"
				placeholder="${_res['payment.plugin.partner']}"
				value="${paymentPluginConfig.attributes.partner!}" required
				aria-required="true">
		</div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.key"]}</label>
		<div class="col-md-10">
			<input type="text" class="form-control"
				name="paymentPluginConfigAttribute.key"
				placeholder="${_res['payment.plugin.key']}"
				value="${paymentPluginConfig.attributes.key!}" required
				aria-required="true">
		</div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.status"]}</label>
		<div class="col-md-10"><#dict type="select"
			name="paymentPluginConfig.status" dictCode="COMMON_STATUS"
			defaultValue="${paymentPluginConfig.status!}"/></div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.feetype"]}</label>
		<div class="col-md-10"><#dict type="select"
			name="paymentPluginConfigAttribute.feetype"
			dictCode="COMMISSION_FEE_TYPE"
			defaultValue="${paymentPluginConfig.attributes.feetype}"/></div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.fee"]}</label>
		<div class="col-md-10">
			<input type="text" class="form-control"
				name="paymentPluginConfigAttribute.fee"
				placeholder="${_res['payment.plugin.fee']}"
				value="${paymentPluginConfig.attributes.fee!}" required
				aria-required="true" />
		</div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.logo"]}</label>
		<div class="col-md-10">
			<input type="text" class="form-control"
				name="paymentPluginConfigAttribute.logo"
				placeholder="${_res['payment.plugin.logo']}"
				value="${paymentPluginConfig.attributes.logo!}" required
				aria-required="true" />
		</div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.sort"]}</label>
		<div class="col-md-10">
			<input type="text" class="form-control"
				name="paymentPluginConfig.orders"
				placeholder="${_res['payment.plugin.logo']}"
				value="${paymentPluginConfig.orders!}" required aria-required="true" />
		</div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["payment.plugin.description"]}</label>
		<div class="col-md-10">
			<textarea class="form-control" rows="3" cols="9"
				name="paymentPluginConfigAttribute.description"
				placeholder="${_res['payment.plugin.description']}">${paymentPluginConfig.attributes.description!}</textarea>
		</div>
	</div>

	<div class="hr-line-dashed"></div>
	<div class="form-group">
		<div class="col-md-10 col-md-offset-5">
			<% if(hasPrivilegeUrl("Payment_Plugin_search")){ %>
			<button type="button" class="btn btn-warning" onClick="ajaxContent('/admin/paymentplugin');">${_res["system.return"]}</button>
			<% } %> <% if(hasPrivilegeUrl("paymentplugin_update")){ %>
			<button type="submit" class="btn btn-warning">${_res["system.submit"]}</button>
			<% } %>
		</div>
	</div>
</form>
<#submit formId="searchForm" divId="content" />